# coding : utf-8
import time


def print1000lessen7():
    list = []
    for i in range(1000, 0, -7):
        list.append(i)
    print(list)

def print_time():
    print(time.strftime("格式化时间：%Y-%m-%d %H:%M:%S", time.localtime()))
    print(f"时间戳：{time.time()}")

def max_num(num1: int | float,
            num2: int | float) -> int | float:
    return num1 if num1 > num2 else num2


if __name__ == '__main__':
    print("this is a test program")
    print(f"max_num(10.5, 20.7) = {max_num(10.5, 20.7)}")
    print1000lessen7()
    print_time()
